package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 活动答题规则
 */
@Getter
@Setter
@Document(collection = "activity_qa_rule")
public class ActivityQaRule extends EntityBase {
    private String activityId;
    private String taskId;
    private String activityQaInfoId;
    private Integer qaStart;
    private Integer qaEnd;
    private Integer qaEqu;
    /**
     * section,equals,leftInterval,rightInterval
     */
    private String inviteOperatorType = "section";
    /**
     * 证书名
     */
    private String caName;
    /**
     * 礼品
     */
    private String boon;
    /**
     * 优先级,数字越大优先级越高
     */
    private Integer priority;
    /**
     * 提示语
     */
    private String tips;
    /**
     * 是否替换
     */
    private Boolean replaced = Boolean.FALSE;

    /**
     * 是否替换证书
     */
    private Boolean replacedCa = Boolean.FALSE;
    /**
     * 序号
     */
    private Double orderNo = 0D;
    /**
     * 序号总数
     */
    private Double orderTotal = 8.0D;
    /**
     * 下一个证书名字
     */
    private String nextCaName;
    /**
     * 下一个证书量级
     */
    private Integer nextCaQ;

}
